﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static VAsensorTest.FormMain;

namespace VAsensorTest
{
    public class Logger
    {
        public static delegate_ShowMessageToTextBox Callback_ShowMessage = null;
        public static void WriteLog(String s)
        {
            if (Callback_ShowMessage != null)
            {
                Callback_ShowMessage(DateTime.Now.ToString("hh:mm:ss:fff") + " " + s + "\r\n");
            }
        }
    }
}
